home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ddddeeeeffffrrrraaaassss((((3333GGGG)))) ddddeeeeffffrrrraaaassss((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ddddeeeeffffrrrraaaassss - defines a raster font
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ddddeeeeffffrrrraaaassss((((nnnn,,,, hhhhtttt,,,, nnnncccc,,,, cccchhhhaaaarrrrssss,,,, nnnnrrrr,,,, rrrraaaasssstttteeeerrrr))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn,,,, hhhhtttt,,,, nnnncccc,,,, nnnnrrrr
- iiiinnnntttteeeeggggeeeerrrr****2222 cccchhhhaaaarrrrssss((((4444****nnnncccc)))),,,, rrrraaaasssstttteeeerrrr((((nnnnrrrr))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n expects the constant that you want to use as the identifier for
- this raster font. This constant is used as an index into a font
- table. The default font, 0, is a fixed-pitch font with a height
- of 15 and width of 9. Font 0 cannot be redefined.
-
- _h_t expects the maximum height (in pixels) for a character.
-
- _n_c expects the number of characters in this font.
-
- _c_h_a_r_s expects an array of four by _n_c 16-bit elements. Because you will
- need to write to individual bytes within the second and third
- elements of the _c_h_a_r_s array, you should declare an eight by _n_c
- array of one byte elements. You can then EQUIVALENCE the new
- array to the _c_h_a_r_s array.
-
- FFFFiiiirrrrsssstttt eeeelllleeeemmmmeeeennnntttt of each row expects the element number of _r_a_s_t_e_r
- at which starts the bitmap for this character. The element
- numbers start at zero.
-
- SSSSeeeeccccoooonnnndddd eeeelllleeeemmmmeeeennnntttt,,,, hhhhiiiigggghhhh bbbbyyyytttteeee expects the number of columns in the
- bitmap that contain set bits (character width). SSSSeeeeccccoooonnnndddd eeeelllleeeemmmmeeeennnntttt,,,,
- lllloooowwww bbbbyyyytttteeee expects the number of rows (character height) in the
- bitmap of the character (including ascender and descender).
-
- TTTThhhhiiiirrrrdddd eeeelllleeeemmmmeeeennnntttt,,,, hhhhiiiigggghhhh bbbbyyyytttteeee expects number of bitmap columns
- between the start of the character's bitmap and the start of the
- character. TTTThhhhiiiirrrrdddd eeeelllleeeemmmmeeeennnntttt,,,, lllloooowwww bbbbyyyytttteeee expects the number rows
- between the character's baseline and the bottom of the bitmap.
- For characters with descenders (e.g., _g) this value is a
- negative number. For characters that rest entirely on the
- baseline, this value is zero.
-
- FFFFoooouuuurrrrtttthhhh eeeelllleeeemmmmeeeennnntttt expects the bit width of the bitmap for the
- character. This value tells the system how many bits there are
- in each row of the bitmap for this character.
-
- _n_r expects the number of 16-bit integers in _r_a_s_t_e_r.
-
- _r_a_s_t_e_r expects a one-dimensional array that contains all the bit maps
- (masks) for the characters in the font. Each element of the
- array is a 16-bit integer and the elements are ordered left to
- right, bottom to top. When interpreting each element, the bits
- are left justified within the character's bounding box.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ddddeeeeffffrrrraaaassss((((3333GGGG)))) ddddeeeeffffrrrraaaassss((((3333GGGG))))
-
-
-
- The maximum row width for a single bitmap is not limited to the
- capacity of a single 16-bit integer array element. The rows of
- a bitmap may span more than one array element. However, each
- new row in the character bitmap must start with its own array
- element. Likewise, each new character bitmap must start with
- its own array element. The system reads the row width and
- starting location for a character bitmap from the in the _c_h_a_r_s
- array.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ddddeeeeffffrrrraaaassss defines a raster font. To replace a raster font, specify the
- index of the previous font as the index for the new font. To delete a
- raster font, define a font with no characters. Patterns, cursors, and
- fonts are available to all windows when using multiple windows.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- charst, cmov, font, getcpo, getdes, getfon, gethei, strwid
-
- NNNNOOOOTTTTEEEE
- This routine is available only in immediate mode.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-